//
//  UserInfo.m
//  wuxinlvtu
//
//  Created by Apple on 12-3-5.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "UserInfo.h"

@implementation UserInfo

@synthesize email = _email,
member_id = _member_id,
name = _name,
sex = _sex,
image_filename = _image_filename,
creat_time = _creat_time;

- (id)init
{
    self = [super init];
    if (self)
    {
        _email = [[NSString alloc] initWithString:@""];
        _name = [[NSString alloc] initWithString:@""];
        _member_id = [[NSString alloc] initWithString:@""];
        _sex = [[NSString alloc] initWithString:@""];
        _image_filename = [[NSString alloc] initWithString:@""];
        _creat_time = [[NSString alloc] initWithString:@""];
    }
    return self;
}

- (void) dealloc
{
    [_email release];
    [_member_id release];
    [_name release];
    [_sex release];
    [_image_filename release];
    [_creat_time release];
    
    [super dealloc];
}
@end

@implementation LoginInfo

@synthesize email = _email,
password = _password;

- (id)init
{
    self = [super init];
    if (self)
    {
        _email = [[NSString alloc] initWithString:@""];
        _password = [[NSString alloc] initWithString:@""];
    }
    return self;
}

- (void) dealloc
{
    [_email release];
    [_password release];
    
    [super dealloc];
}
@end
